package com.bootdo.appsystem.domain;

import java.io.Serializable;
import java.util.Date;



/**
 * 
 * 
 * @author xiaoxiao
 * @email 806191255@qq.com
 * @date 2018-05-12 14:42:14
 */
public class OrderproductitemsDO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//订单明细表名称
	private Integer oitemid;
	//订单ID
	private Integer oid;
	//商品id
	private Integer pid;
	//商家id
	private Integer sellerid;
	//购买数量
	private Integer buycount;
	//商品价格
	private Double buymoney;
	//商品订单状态
	private Integer goodsstatus;

	/**
	 * 获取商品订单状态
	 * 1、支付成功 未发货
	 * 2、已发货，未签收
	 * 3、已签收，未评价
	 * 4、已完成
	 * @return
	 */
	public Integer getGoodsstatus() {
		return goodsstatus;
	}
	/**
	 * 存储商品订单状态、
	 * 0、未支付
	 * 1、支付成功 未发货
	 * 2、已发货，未签收
	 * 3、已签收，未评价
	 * 4、已完成
	 * @param goodsstatus
	 */
	public void setGoodsstatus(Integer goodsstatus) {
		this.goodsstatus = goodsstatus;
	}
	/**
	 * 设置：订单明细表名称
	 */
	public void setOitemid(Integer oitemid) {
		this.oitemid = oitemid;
	}
	/**
	 * 获取：订单明细表名称
	 */
	public Integer getOitemid() {
		return oitemid;
	}
	/**
	 * 设置：订单ID
	 */
	public void setOid(Integer oid) {
		this.oid = oid;
	}
	/**
	 * 获取：订单ID
	 */
	public Integer getOid() {
		return oid;
	}
	/**
	 * 设置：商品id
	 */
	public void setPid(Integer pid) {
		this.pid = pid;
	}
	/**
	 * 获取：商品id
	 */
	public Integer getPid() {
		return pid;
	}
	/**
	 * 设置：商家id
	 */
	public void setSellerid(Integer sellerid) {
		this.sellerid = sellerid;
	}
	/**
	 * 获取：商家id
	 */
	public Integer getSellerid() {
		return sellerid;
	}
	/**
	 * 设置：购买数量
	 */
	public void setBuycount(Integer buycount) {
		this.buycount = buycount;
	}
	/**
	 * 获取：购买数量
	 */
	public Integer getBuycount() {
		return buycount;
	}
	/**
	 * 设置：商品价格
	 */
	public void setBuymoney(Double buymoney) {
		this.buymoney = buymoney;
	}
	/**
	 * 获取：商品价格
	 */
	public Double getBuymoney() {
		return buymoney;
	}

	@Override
	public String toString() {
		return "OrderproductitemsDO{" +
				"oitemid=" + oitemid +
				", oid=" + oid +
				", pid=" + pid +
				", sellerid=" + sellerid +
				", buycount=" + buycount +
				", buymoney=" + buymoney +
				", goodsstatus=" + goodsstatus +
				'}';
	}
}
